package com.itheima.entity;

import java.io.Serializable;

public class QueryPageBean implements Serializable {

    private Integer pageNum;
    private Integer pageSize;
    private String condition;

    public QueryPageBean() {
    }

    public QueryPageBean(Integer pageNum, Integer pageSize, String condition) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.condition = condition;
    }


    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    @Override
    public String toString() {
        return "QueryPageBean{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", condition='" + condition + '\'' +
                '}';
    }
}
